package com.ilarele.shopping.client.adaptors;

import com.ilarele.shopping.Product;

public class ProductComparatorDate extends ProductComparator {

	@Override
	protected int getComparedValue(Product p1, Product p2) {
		return (int) (p1.date - p2.date);
	}
}
